package ooday01;

public class ConDem {
    public static void main(String[] args) {
//        Student zs=new Student();
//        Student ls=new Student("提升",10);
//        Student ww=new Student("旺旺",16,
//                "提升","挺好");
//        zs.sayHi();
//        ls.sayHi();
//        ww.sayHi();
        Car1 oooo = new Car1();
        oooo.brand = "劳斯莱斯";
        oooo.color = "金色";
        oooo.price = 100000.00;
        Car1 oooi = new Car1("宝马", "绿色", 600000.0);

        oooo.start();
        oooo.run();
        oooo.stop();

        oooi.start();
        oooi.run();
        oooi.stop();


    }
}
